package com.duleme.common;

import java.util.HashMap;
import java.util.Map;

public class Config {
     public static final Map<String,Integer> CATEGORY=new HashMap<String, Integer>(){
         {
             put("文学",1);
             put("流行",2);
             put("文化",3);
             put("生活",4);
             put("经管",5);
             put("科技",6);
             put("小说",7);
             put("外国文学",8);
             put("中国文学",9);
             put("随笔",10);
             put("名著",11);
             put("诗歌",12);
             put("推理",13);
             put("青春",14);
             put("科幻",15);
             put("武侠",16);
             put("奇幻",17);
             put("历史",18);
             put("设计",19);
             put("戏剧",20);
             put("国学",21);
             put("旅行",22);
             put("爱情",23);
             put("励志",24);
             put("教育",25);
             put("经济学",26);
             put("金融",27);
             put("股票",28);
             put("创业",29);
             put("商业",30);
             put("科普",31);
             put("编程",32);
             put("用户体验",33);
             put("神经网络",34);
             put("web",35);

         }
     };
    public static final Map<Integer,String> orderState =new HashMap<Integer, String>(){
        {
            put(placeit,"下单");
            put(payit,"支付");
            put(sendit,"发货");
            put(delivery,"配送");
            put(arrival,"到达");
        }
    };
    public static final String COVER_SAVE_PATH="D:\\javaProject\\duleme\\src\\main\\webapp\\cover";
    public static final String USER_AVATAR_SAVE_PATH="D:\\javaProject\\duleme\\src\\main\\webapp\\avatar\\user";
    public static final String SHOP_AVATAR_SAVE_PATH="D:\\javaProject\\duleme\\src\\main\\webapp\\avatar\\shop";
    public static final String SHOP_AVATAR_ACCESS_PATH="http://localhost:8080/avatar/shop/";
    public static final String USER_DEFAULT_AVATAR_PATH="D:\\javaProject\\duleme\\src\\main\\webapp\\avatar\\user\\default.png";
    public static final String USER_AVATAR_ACCESS_PATH="http://localhost:8080/avatar/user/";
    public static final String COVER_ACCESS_PATH="http://localhost:8080/cover/";
    public static final String COVER_DEFAULT_ACCESS_PATH="http://localhost:8080/cover/default.png";
    public static final String USER_DEFAULT_AVATAR_ACCESS_PATH="http://localhost:8080/avatar/user/default.png";
    public static final String SHOP_DEFAULT_AVATAR_ACCESS_PATH="http://localhost:8080/avatar/shop/default.png";

    public static final int SEX_MALE=1;
    public static final int SEX_FEMALE=2;

    public static final int placeit =1;
    public static final int payit =2;
    public static final int sendit =3;
    public static final int delivery=4;
    public static final int arrival=5;

}
